package com.zjw.spring.aop;

import java.util.Arrays;

/**
 * log util
 * @author zjw
 *
 */
public class LogUtil {

	public static void logBegin(String methodName, Object... args) {
		System.out.println("log: the method [" + methodName + "] begins with "
				+ Arrays.toString(args));
	}

	public static void logEnd(String methodName, Object result) {
		System.out.println("log: the method [" + methodName + "] ends with ["
				+ result + "]");
	}

}
